//
//  CAGetVerifyCodeApi.m
//  LNH
//
//  Created by twentylx on 2018/2/4.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CAGetVerifyCodeApi.h"

@implementation CAGetVerifyCodeApi {
    NSString *_phone;
}

- (instancetype) initWithPhone:(NSString *) phone {
    self = [super init];
    if (self) {
        _phone = phone;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(id)requestArgument{
    return @{@"mobile":_phone};
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@sendRegCode",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@sendRegCode",BASE_SERVICE_DOMAIN];
    
    
}

@end
